package Generic.pair1;

import Generic.Pairs;

public class PairTest1 {
    public static void main(String[] args){
        String[] words={"Mary","had","a","little","lamb"};
        Pairs<String> mm=ArrayAlg.minmax(words);
        System.out.println("min = "+ mm.getFirst());
        System.out.println("max = " + mm.getSecond());
    }
}
